package com.zzj.seckill.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class demoCotroller {
    @RequestMapping("/demo")
    public String demo(Model model){
        model.addAttribute("name","xxxx");
        return "hello";
    }
}
